package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 车间设备详情表
 */
@ApiModel(description = "车间设备详情表")
@Data
@TableName(value = "spr_workshop_device_info")
public class SprWorkshopDeviceInfo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 车间id
     */
    @TableField(value = "workshop_id")
    @ApiModelProperty(value = "车间id")
    private String workshopId;

    /**
     * 站点id
     */
    @TableField(value = "site_id")
    @ApiModelProperty(value = "站点id")
    private String siteId;

    /**
     * 车间名称
     */
    @TableField(value = "workshop_name")
    @ApiModelProperty(value = "车间名称")
    private String workshopName;

    /**
     * 设备机器码
     */
    @TableField(value = "device_number")
    @ApiModelProperty(value = "设备机器码")
    private String deviceNumber;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    @ApiModelProperty(value = "设备名称	")
    private String deviceName;

    /**
     * 喷涂器件总数(一共喷漆总数)
     */
    @TableField(value = "total_spray_parts")
    @ApiModelProperty(value = "喷涂器件总数(一共喷漆总数)")
    private Integer totalSprayParts;

    /**
     * 喷涂器件类别数(去重)
     */
    @TableField(value = "distinct_parts_count")
    @ApiModelProperty(value = "喷涂器件类别数(去重)")
    private Integer distinctPartsCount;

    /**
     * 已运行天数
     */
    @TableField(value = "running_days")
    @ApiModelProperty(value = "已运行天数	")
    private Integer runningDays;

    /**
     * 费用合计
     */
    @TableField(value = "total_fee")
    @ApiModelProperty(value = "费用合计")
    private BigDecimal totalFee;

    /**
     * 设备状态('设备开机','喷漆中','设备停止')
     */
    @TableField(value = "device_status")
    @ApiModelProperty(value = "设备状态('设备开机','喷漆中','设备停止')")
    private String deviceStatus;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}